Unix Commands/Scripts for '#Tail -f' - 2 Commands/Scripts found |
|
Sample 1. Get lines containing any of the multiple errors / exceptions in running logs | |
|
tail -f /opt/WebSphere/AppServer/profiles/application/logs/SystemOut.log | egrep "(WSWS3713E|WSWS3734W|WSVR0605W|javax.net.ssl.SSLHandshakeException|ThreadMonitor)"
|
|
Like Feedback grep grep logs tail tail -f egrep |
|
|
Sample 2. Get Error Snippets in running logs | |
|
tail -f /opt/WebSphere/AppServer/profiles/application/logs/SystemOut.log | sed -n '/ERROR/,/EST/p'
|
|
Like Feedback grep grep logs tail tail -f sed sed -n |
|
|